package com.winit.openapi.mqx.vo;

import com.alibaba.fastjson.JSON;

public class SyncResult {

	/**
	 * 同步结果码-成功
	 */
	public static final String SYNC_RESULT_CODE_SUCCESS = "S";
	/**
	 * 同步结果码-失败
	 */
	public static final String SYNC_RESULT_CODE_FAILURE = "F";
	
	/**
	 * 同步结果码：S-成功，F-失败
	 */
    private String code;
    
    /**
     * 同步结果描述
     */
    private String msg;
   
    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
    public String toString() {
        return (String) JSON.toJSON(this);
    }



}
